package com.zrrd.genericity;

/**
 * @author WanJl
 * @version 1.0
 * @title GenericityTest
 * @description 泛型使用
 * @create 2024/4/14
 */
public class GenericityTest<E> {
    public void method(E e){
        System.out.println(e.getClass().getName());
    }

    public static void main(String[] args) {
        GenericityTest<Integer> g = new GenericityTest();
        String s="asad";

        //g.method(s);
    }
}
